import request from "@/request/api";

//品牌库接口
//1.品牌库查询接口
export function brandStockList(data) {
  return request({
    url: "/eam-service-standard/brandStock/page",
    method: "get",
    params: data,
  });
}
//2、品牌库新增接口
export function brandStockAdd(data) {
  return request({
    url: "/eam-service-standard/brandStock",
    method: "post",
    data: data,
  });
}
//3、品牌库修改接口
export function brandStockEdit(data) {
  return request({
    url: "/eam-service-standard/brandStock",
    method: "put",
    data: data,
  });
}
export function brandStockNumPlus(data) {
  return request({
    url: "/eam-service-standard/brandStock/numPlus",
    method: "put",
    params: data,
  });
}
//品牌库删除接口
export function brandStockDelete(data) {
  return request({
    url: "/eam-service-standard/brandStock",
    method: "delete",
    params: data,
  });
}

//品牌库导入接口
export function importBrandStock(formData) {
  return request({
    url: "/eam-service-standard/brandStock/import",
    method: "post",
    data: formData,
  });
}
